package com.weiweiqin.service;


import com.weiweiqin.model.Gamelog;
import com.weiweiqin.vo.common.Page;

import java.util.List;
import java.util.Map;

public  interface GamelogService {
	
	List<Gamelog> pageList(Page page, Map<String, Object> conditions);
	
	int totalCount(Map<String, Object> conditions);
	
	void save(Gamelog gamelog);
	
	void update(Gamelog gamelog);

	int getLastWinId(int goodsId);

	int getFailNum(int id,int goodsId);

	int getAllNumByGoodsId(int goodsId);

	Gamelog get(int id);
	
}